package com.sunwayworld.basemodule.business.batchrevise.service;

import com.sunwayworld.basemodule.business.batchrevise.bean.LimsBatchSampleTempBean;
import com.sunwayworld.basemodule.business.batchrevise.bean.LimsSampleTempBean;
import com.sunwayworld.framework.data.page.Page;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;

import java.util.List;

public interface LimsBatchSampleTempService extends GenericService<LimsBatchSampleTempBean, Long> {

    void insertSample(RestJsonWrapperBean wrapper);

    void updateSample(RestJsonWrapperBean wrapper);

    Page<LimsSampleTempBean> selectBatchSampleInfo(RestJsonWrapperBean wrapper);

    List<LimsSampleTempBean> selectBatchSampleInfo(MapperParameter parameter);

    void deleteBatchSamples(RestJsonWrapperBean wrapper);
}
